﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace DiscoveryLogic.Analytics.Studio
{
	/// <summary>
	/// Interaction logic for App.xaml
	/// </summary>
	public partial class App : Application
	{
		public App()
		{
            App.SetXceedLicenseKey();
			Bootstrapper bootStrapper = new Bootstrapper();
			bootStrapper.Run();
		}

        private static void SetXceedLicenseKey()
        {
            /* ================================
             * How to license Xceed components 
             * ================================
             *
             * To license (unlock) your component, set the LicenseKey property with your 
             * license key in the entry point of the application. This will ensure the component
             * is licensed before any of its methods are called.
             *  
             * If the component is used in a DLL project (no entry point is available), it is 
             * recommended that the LicenseKey property be set in a static constructor of a 
             * class that will be accessed systematically before any component is instantiated,
             * or you can simply set the LicenseKey property immediately BEFORE 
             * instantiation of the component. 
             * 
             * To deploy this sample, your license key should be set in the OnStartup() method.
             *
             * For more information, consult the "Licensing" topics in the product documentation. 
             *
             * Xceed DataGrid for WPF can be unlocked with either a registered license key 
             *  that starts with "DGF", which can be freely obtained by registering on Xceed's 
             * web site, or with a license key that starts with "DGP" that provides access to 
             * certain features reserved for users that have purchased a Vanguard subscription.
             */

            // Please uncomment the following line to set your own license key.
            // Xceed.Wpf.DataGrid.Licenser.LicenseKey = "DGF20-AUTJ7-3K8MD-DNNA";
        }
	}
}
